
package com.controller.entity;

import java.io.Serializable;

import com.controller.common.EnmType;
import com.controller.common.FieldSearch;

/**
 * 员工
 */

@SuppressWarnings("serial")
// 定义SQL语句
@FieldSearch(selectTabSql = "select id,name from staff as a where 1=1 ")
public class Staff implements Serializable {

	@FieldSearch(searchType = "in", startSymbol = "(", endSymbol = ")")
	private Long id;

	@FieldSearch(searchType = "like", startSymbol = "'%", endSymbol = "%'", order = "desc", group = true)
	private EnmType name;

	public EnmType getName() {

		return name;
	}

	public void setName(EnmType name) {

		this.name = name;
	}

	public Long getId() {

		return id;
	}

	public void setId(Long id) {

		this.id = id;
	}

}
